<template>
  <a-layout>
    <a-layout-sider  class="sider">
      <Sider />
    </a-layout-sider>
    <a-layout>
      <a-layout-header class="header">
      <Header />
      </a-layout-header>
      <a-layout-content class="content">
          <router-view></router-view>
      </a-layout-content>
    </a-layout>
  </a-layout>
</template>

<script lang="ts" setup>

import Sider from "@/components/admin/sider.vue";
import Header from "@/components/admin/header.vue";
</script>

<style lang="less" scoped>
.sider {
  background: white;
  transition: all 0.3s;
  overflow: hidden;
  height: 100vh;
  position: sticky;
  top: 0;
  bottom: 0;
}
.header {
  background: white;
}
.content {
  margin: 25px;
}
/deep/ .ant-card {
  margin-top: 20px;
}
/deep/ .ant-table-wrapper {
  margin: 20px 0;
}

</style>
